package com.xtpt.disaster.service;

import com.xtpt.disaster.bean.NodeInfo;
import com.xtpt.disaster.bean.TaskInfo;
import com.xtpt.disaster.common.PortalResult;


public interface FileBackupService {
    PortalResult FileBackup(NodeInfo client, Integer taskType, String clientPath, String serverPath);

    PortalResult FileBackupByAgent(TaskInfo taskInfo, String backupFileName) throws Exception;

    PortalResult FileIncrementBackupByRsync(TaskInfo taskInfo, String backupFileName);
}
